﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace zielonka.co.uk.extensions.system
{
    /*
        Boolean isLeapDay = new DateTime(2012, 2, 29).IsLeapDay();
     */

    public static partial class DateTimeExtensions
    {
        public static Boolean IsLeapDay(this DateTime date)
        {
            return (date.Month == 2 && date.Day == 29);
        }
    }
}
